import request from '@/utils/request'

export default{
    // 排班日期列表
    getScheduleRule(page,limit,hoscode,depcode){
        return request({
            url: `/admin/hosp/schedule/getScheduleRule/${page}/${limit}/${hoscode}/${depcode}`,
            method: 'get'
        })
    },
    // 医院排班详情
    getScheduleDetail(hoscode,depcode,workDate){
        return request({
            url: `/admin/hosp/schedule/getDetailSchedule/${hoscode}/${depcode}/${workDate}`,
            method: 'get'
        })
    }
}